// pindock.h : main header file for the PINDOCK application
//

#if !defined(AFX_GenViewer_H__1213B279_1764_4EBE_BF44_B94364FF0FD3__INCLUDED_)
#define AFX_GenViewer_H__1213B279_1764_4EBE_BF44_B94364FF0FD3__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"       // main symbols
#ifdef HOOPS
	#include "HDB.h"
#endif
/////////////////////////////////////////////////////////////////////////////
// CGenViewerSdiApp:
// See GenViewerSdiApp.cpp for the implementation of this class
//

class CGenViewerApp : public CWinApp
{
public:
	CGenViewerApp();
#ifdef HOOPS
	HDB* m_pHDB;
#endif
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGenViewerApp)
public:
	virtual BOOL InitInstance();
	virtual int ExitInstance();
	//}}AFX_VIRTUAL

// Implementation
	//{{AFX_MSG(CGenViewerApp)
	afx_msg void OnAppAbout();
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
	afx_msg void OnFileOpen();
private:
	char m_AppDirectory[4096];
	static void CreateAllFileTypesString(CString * filters, const char * file_types); 
	static void ProcessFilters(CString * filters, const char * file_types); 	
};

extern CGenViewerApp theApp;


/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_GenViewer_H__1213B279_1764_4EBE_BF44_B94364FF0FD3__INCLUDED_)
